home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
bbs
/
fraction
/
_ffr.bat
< prev
next >
Wrap
DOS Batch File
|
1992-01-01
|
1KB
|
57 lines
@echo off
echo ╔═════════════════════════════════════════════╤═══════════════════╗
echo ║_FFR.BAT batchfile for splitting capturefiles│DG1BBQ@DB0CL 911229║
echo ╚═════════════════════════════════════════════╧═══════════════════╝
echo.
if "%1$"=="$" goto not_ok
rem Check, if the capturefile exists.
if exist \packet\save\save.c0%1 goto continue
echo '\packet\save\save.c0%1' does not exist!
goto end
rem Call FFR
:continue
ffr \packet\save\save.c0%1 -x *
rem Delete backup, if it already exists.
if exist \packet\save\save.b0%1 goto erase
goto rename
:erase
echo Delete old backup.
echo j |del \packet\save\save.b0%1
rem Convert the capturefile into a backupfile.
:rename
echo.
echo '\packet\save\save.c0%1' renamed to '\packet\save\save.b0%1'.
ren \packet\save\save.c0%1 \packet\save\save.b0%1
goto end
rem Wrong parameter.
:not_ok
echo Parameter missing!
echo.
echo Usage:
echo ------
echo.
echo _ffr X
echo.
echo X stands for the number of the capturefile that is to be split by FFR.
echo E.g: 1 for save.c01.
echo.
echo The extracted files will automatically be written to the following
echo directories:
echo \packet\code - for encoded files.
echo \packet\mail - for general mail.
echo \packet\pers - for personal mail.
echo.
echo The capturefile will be renamed into '*.B0*', e.g. 'SAVE.B01' after
echo processing.
echo.
:end